<template>
	<view class="content">
		
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		<view class="text-area">
		
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '疾病评测',
				userid: 0
			}
		},
		onLoad() {
  this.userid=uni.getStorageSync("uservo")
		   if(this.userid==0||this.userid == ''){
			   uni.reLaunch({
			   		url: '/pages/login/index',
			   	}); 
		   }
		},
		methods: {
			showlist(){
				uni.request({
					url:'http://localhost:7001/case/case/getusercodebyipone',
					methods : 'post',
				  header: {
						'custom-header': 'hello' //自定义请求头信息
					},
				})
			}
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
